namespace STOWaybillMall.Core
{
    using System;
    using System.Collections.Generic;
    using System.ComponentModel.DataAnnotations;
    using System.ComponentModel.DataAnnotations.Schema;
    using TongTongMall.Domain.Repositories.Attributes;

    [Table("UserReceiptInfo")]
    public partial class UserReceiptInfo
    {
        [Identify]
        public long UserReceiptID { get; set; }

        public long UserID { get; set; }

        [Required]
        [StringLength(20)]
        public string Consignee { get; set; }

        public int? ProvID { get; set; }

        public int? CityID { get; set; }

        public int? CountyID { get; set; }

        [StringLength(200)]
        public string SpecificAddress { get; set; }

        [Required]
        [StringLength(300)]
        public string FullAddress { get; set; }

        [Required]
        [StringLength(50)]
        public string Phone { get; set; }

        [StringLength(10)]
        public string PostalCode { get; set; }

        public bool? Default { get; set; }

        [StringLength(10)]
        public string Tag { get; set; }
    }
}
